pp108 : onupload Event

onupload Event


This event is fired when a file is uploaded to a server or an application connector.

Syntax

Inline HTML
<div cordysType="wcp.library.util.Upload" onupload="handler"/>
Event Property object.onupload = handler


Event Information

To Invoke Call theuploadFileoperation on the object and it gets fired.
Default Action Initiates any action associated with this event.


Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property Description
status

Retrieves the status of the action of uploading.

  • true - File is successfully uploaded.
  • false - File is not loaded successfully.
response Retrieves the response XML.
showError

Boolean that indicates whether the message shown by onupload can be suppressed from display or not.

  • true - Default. Error is shown by the upload library.
  • false - Error is not shown by the upload library.


See Also


upload

Related reference

Upload
onAfterBrowse
onBeforeUpload
browse Operation
request Property
uploadFile Method